package com.ocm.controller.mapper;

import java.util.List;

import com.ocm.core.domain.Permission;
import com.ocm.core.dto.GroupDto;
import com.ocm.core.dto.UserInfoDto;

import net.sf.json.JSONArray;

public interface JsonMapping {

   JSONArray convertSearchGroups(List<GroupDto> groupDtos);

   JSONArray convertSearchUsers(List<UserInfoDto> usersDtos);

   JSONArray convertPermisson(Permission[] permissions);

}
